package com.woniu.order.service;

import com.alipay.api.AlipayApiException;
import com.woniu.order.Param.OrderPayParam;
import com.woniu.order.model.CurriculumOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杜岷芫
 * @since 2024年07月12日
 */
public interface CurriculumOrderService extends IService<CurriculumOrder> {


    String pay(OrderPayParam orderPayParam) throws Exception;

    List<CurriculumOrder> loadClassOrderByUserId(Integer userId, Integer orderState);

    String orderLeagueClass(Integer userId, Integer groupLessonsClassId) throws Exception;

    void payNotify(Map<String, String> params) throws AlipayApiException;
}
